export default app => {
  const { INTEGER, DATE, DataTypes } = app.Sequelize;

  const mergePatentApplicationOrganization = app.model.define(
    'merge_patent_application_organization',
    {
      id: { type: INTEGER, primaryKey: true, autoIncrement: true },
      patent_id: {
        type: DataTypes.INTEGER,
      },
      application_organization_id: {
        type: DataTypes.INTEGER,
      },
      createdAt: DATE,
      updatedAt: DATE,
    }
  );
  return mergePatentApplicationOrganization;
};
